|
Get Component Version |
|
The component version is represented with four digits, separated with dots (x.y.z.w):
·x - generation of the component
·y - new functionality was added to the component and the interface might extended
·z - bug fixes
·w - build number
Check the change log for each version.
Note as well, that the component version is coupled with the proXSign javaScript library. SETCCE gurantees backward compatibility within the same generation. The new version with same generation will be operating fully with any of your versions of the proXSign javaScript library.
Code Samples
To retrieve the proXSign® XML component version initialize the proXSign® component, passing OK and Error callBack functions.
|
proXSign.initialize(callbackVersion,callbackError); |
|
<script>
var callbackVersion = function(version, textStatus) { var versionNumber = version.version; var GUID= version.identifier; }
var callbackError = function(jqXHR, textStatus, errorThrown){ var s = "Error : " + JSON.stringify(jqXHR); // General error in ajax call alert("Napaka : proXSign component is not responding"); alert(s); }
proXSign.initialize(callbackVersion,callbackError); //initialize the proXSign component
</script> |
Result
For example, the result would be 2.0.0.114